package com.top.application.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.top.application.entity.UserEntity;

/**
 * 
 * @ClassName: UserEntityMapper 
 * @Description: TODO(定义用户信息持久层接口) 
 * @author zhaiey
 * @date 2018年3月30日 下午1:36:59 
 *
 */
public interface UserEntityMapper {
    int delete(Integer id);

    int insert(UserEntity record);

    UserEntity selectById(Integer id);

    int update(UserEntity record);
    
    UserEntity getByUserName(@Param(value = "username") String username);
    
    List<UserEntity> listByMap(Map<String, Object> param);
}